package com.chinaedu.oc.serv.saledate.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.chinaedu.oc.dao.saledate.IPictureDao;
import com.chinaedu.oc.po.saledate.Picture;
import com.chinaedu.oc.serv.saledate.IPictureServ;


@Service
public class PictureServImpl implements IPictureServ {

	@Autowired
	private IPictureDao pictureDao;
	
	@Override
	public void insert(List<Picture> picture) {
		// TODO Auto-generated method stub
		pictureDao.insert(picture);
	}

	@Override
	public void deleteBySaledateId(String saleDateId) {
		// TODO Auto-generated method stub
		pictureDao.deleteBySaledateId(saleDateId);
	}


}
